//
//  LineTransferTableViewCell.m
//  JxCarios
//
//  Created by xcq on 15/2/24.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "LineTransferTableViewCell.h"

@implementation LineTransferTableViewCell

- (void)awakeFromNib {
    [self setSelectionStyle:UITableViewCellSelectionStyleNone];

}

- (void)setInfo:(NSDictionary *)info{
    if (info) {
        _info = info;
    }
    NSString *str = @"所需积分:";
   [_image setImageWithURL:[NSURL URLWithString:[info customObjectForkey:@"PRODUCT_IMAGE"]] placeholderImage:[UIImage imageNamed:@"58"] options:SDWebImageProgressiveDownload ];
    _name.text = [_info customObjectForkey:@"PRODUCT_NAME"];
    _scope.text = [str stringByAppendingString:[_info customObjectForkey:@"POINTS_REQUIRED"]];
    _shopId = [info customObjectForkey:@"ID"];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
